"""
装饰器.
date: 2019-4-48
"""


def ex1_demo(func):
    def inner():
        func()
        print('ex1 demo')
    return inner


@ex1_demo
def ex1_run():
    print('ex1 run')


ex1_run()